package com.zhw.goshopping.content.service;

import com.zhw.goshopping.common.pojo.GoShoppingResult;
import com.zhw.goshopping.pojo.TbContent;

import java.util.List;

/**
 * Create by zhaihongwei on 2018/3/24
 */
public interface ContentService {
    /**
     * 查询内容
     * @param categoryId
     * @return
     */
    List<TbContent> getContentListByCid(long categoryId);

    /**
     * 添加内容
     * @param tbContent
     * @return
     */
    GoShoppingResult addContent(TbContent tbContent);



}
